package ie.timalb.chess.main.core.squares;

public abstract class Square{	
	iSquareContent _content;

	public boolean equals(Object objSquare) 
	{
		boolean result = false;
		Square square = (Square) objSquare;
		
		if (square.getContent() == this.getContent())
		{
			result = true;
		}
		
		return result;		
	}
	
	public void setContent(iSquareContent content) {
		this._content = content;
	}

	public iSquareContent getContent() {
		return _content;
	}
	
	abstract public boolean isOccupied();
}
